/***********************************************************
 * 编译环境jdk1.8.0_171
 * 
 * 
 * 
 * 
 * 
 * 
 */
package com.blunka.framework.client;



import javax.swing.JWindow;
import javax.swing.SwingUtilities;

import com.blunka.framework.client.db.druid.DBSQLService;
import com.blunka.framework.client.ui.MainFrame;

/**
 * 设计器主启动类
 * @author Administrator
 *
 */
public class BlkClient extends JWindow implements Runnable{

	private static final long serialVersionUID = 1L;

	/**
	 * 初始化系统
	 */
	static void initDesigner(){
		//初始化本地缓存
		DBSQLService.getLocalDBService();
		//初始化服务器缓存
		DBSQLService.getDBService();
	}

	public static void main(String[] args){

	    SwingUtilities.invokeLater(new Runnable()
	    {
	      public void run() {
	    	  initDesigner();
	    	  MainFrame.newInstance();
	      }
	    });
	}

	@Override
	public void run() {


	}
}
